package com.ferry.wallpaper.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {

    private static final DateFormat format = new SimpleDateFormat("yyyy-MM-dd");

    public static  String getCurrentDate() {
        return format.format(new Date());
    }

    public static  String getDate(Date date) {
        return format.format(date);
    }

}
